package com.hzy.fivepalace.db.service;

import com.hzy.fivepalace.db.domain.DtsGroupOpenDetail;
import com.hzy.fivepalace.db.domain.DtsGroupOpenList;
import com.hzy.fivepalace.db.domain.DtsOrder;
import com.hzy.fivepalace.db.domain.DtsUser;
import com.hzy.fivepalace.db.service.base.BaseService;

/**
 * 参团详情Service接口
 *
 * @author ruoyi
 * @date 2022-11-07
 */
public interface DtsGroupOpenDetailService extends BaseService<DtsGroupOpenDetail> {

    /**
     *
     * @param userId
     * @param groupId
     * @param openId
     * @return
     */
    DtsGroupOpenDetail getMyDetailByGroup(int userId,int groupId,int openId);

    /**
     *  添加开团用户详情
     * @return
     */
    int addGroupOpenDetail(DtsUser user, DtsGroupOpenList groupOpenList, DtsOrder order);
}
